#ifndef PLATFORMCONTROL_H
#define PLATFORMCONTROL_H

#ifdef __linux__
//        #define      __attribute__((visibility("default")))
//        #define LIB_DECL_IMPORT     __attribute__((visibility("default")))
//        #define LIB_DECL_HIDDEN     __attribute__((visibility("hidden")))
//        #define PTHREAD_PROC_DECL        void*
//        #define PTHREAD_T                pthread_t
//        #include <QtCore/qglobal.h>
//        #define    
//        #define DllImport   LIB_DECL_IMPORT
        /*************************Set pthrea priority*******************************************/
        #ifndef PTHREAD_PRIORITY
            #define THREAD_PRIORITY_LOWEST          1
            #define THREAD_PRIORITY_BELOW_NORMAL    (THREAD_PRIORITY_LOWEST+1)
            #define THREAD_PRIORITY_NORMAL          96
            #define THREAD_PRIORITY_HIGHEST         99
            #define THREAD_PRIORITY_ABOVE_NORMAL    (THREAD_PRIORITY_HIGHEST-1)
        #endif
        /*************************************************************************************/

#endif // PLATFORMCONTROL_H

#endif
